<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/css/public.css" media="all" />
    <style>
        .eleTree {
            width: 350px;
            height: 500px;
            border: 1px solid #ccc;
            overflow: hidden;
            display: inline-block;
            position: absolute;
        }
    </style>
</head>
<body>
<div class="container">
    <form class="layui-form" lay-filter="form-dict_data">

        <div class="layui-form-item">
            <label class="layui-form-label">字典标签：</label>
            <div class="layui-input-block">
                <input type="text" name="dictLabel" placeholder="" autocomplete="off" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">字典类型：</label>
            <div class="layui-input-block">
                <input type="text" name="dictType" placeholder="" autocomplete="off" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">字典键值：</label>
            <div class="layui-input-block">
                <input type="text" name="dictValue" placeholder="" autocomplete="off" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">字典排序：</label>
            <div class="layui-input-block">
                <input type="text" name="dictSort" placeholder="" autocomplete="off" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注1：</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea layext-text-tool" name="remark"  id="remark" maxlength="512"
                          placeholder=""></textarea>
              </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">富文本：</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea layext-text-tool" name="memo" id="memo" lay-verify="memo"
                          placeholder=""></textarea>
            </div>
        </div>
        <button class="layui-btn" id="btn-add" style="display:none" lay-submit lay-filter="btn-add">创建</button>
    </form>
</div>
<script type="text/javascript" src="/layui/ace/ace.js"></script>
<script type="text/javascript" src="/layui/polyfill.min.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/layui/swotadmin.js"></script>
<script type="text/javascript">
    var prefix = "/system/dict";
</script>
<script>
    layui.config({
        base: '/js/system/dict/'
    }).use(['add'], function () {
        var add = layui.add;
        add.init({
            "prefix": prefix,
            "editFlag": false
        });
    });
</script>
</body>
</html>